﻿using System;
using System.Collections.Generic;
using System.Text;

using Transformer.iHunter;
using Transformer.iHunter.Database;

namespace Transformer.iHunter
{
    /// <summary>
    /// The in-memory IFolder implementation.
    /// Used to setup the fields and be added into FoldersRow.
    /// </summary>
    public class LocalFolder : IFolder
    {

        /// <summary>
        /// Initializes a new instance of the <see cref="LocalFolder"/> class.
        /// </summary>
        public LocalFolder()
        {
        }

        #region IFolder Members

        public bool IsAncestorOf(IFolder folder)
        {
            return false;
        }

        public Guid Guid { get; set; }


        public string Name { get; set; }


        public IFolder Parent { get; set; }

        public string Settings { get; set; }

        ICollection<IMessage> IFolder.MessageHeaders
        {
            get { return new IMessage[0]; }
        }

        ICollection<IFolder> IFolder.SubFolders
        {
            get { return new IFolder[0]; }
        }

        bool IFolder.IsRoot
        {
            get { return false; }
        }

        bool IFolder.IsSpecialFolder
        {
            get { return false; }
        }

        #endregion
    
    }
}
